package com.imc.beans;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TbDeliverHis entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tb_deliver_his", catalog = "imcdbserver")
public class TbDeliverHis implements java.io.Serializable {

	// Fields

	private Integer smsDeliverHisId;
	private String smsDeliverHisOwner;
	private String spnumber;
	private String usernumber;
	private String content;
	private String reserve;
	private Date receivetime;
	private Date readtime;
	private String reader;
	private String corpId;

	// Constructors

	/** default constructor */
	public TbDeliverHis() {
	}

	/** minimal constructor */
	public TbDeliverHis(String smsDeliverHisOwner) {
		this.smsDeliverHisOwner = smsDeliverHisOwner;
	}

	/** full constructor */
	public TbDeliverHis(String smsDeliverHisOwner, String spnumber,
			String usernumber, String content, String reserve,
			Date receivetime, Date readtime, String reader, String corpId) {
		this.smsDeliverHisOwner = smsDeliverHisOwner;
		this.spnumber = spnumber;
		this.usernumber = usernumber;
		this.content = content;
		this.reserve = reserve;
		this.receivetime = receivetime;
		this.readtime = readtime;
		this.reader = reader;
		this.corpId = corpId;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "SMS_DELIVER_HIS_ID", unique = true, nullable = false)
	public Integer getSmsDeliverHisId() {
		return this.smsDeliverHisId;
	}

	public void setSmsDeliverHisId(Integer smsDeliverHisId) {
		this.smsDeliverHisId = smsDeliverHisId;
	}

	@Column(name = "SMS_DELIVER_HIS_OWNER", nullable = false, length = 20)
	public String getSmsDeliverHisOwner() {
		return this.smsDeliverHisOwner;
	}

	public void setSmsDeliverHisOwner(String smsDeliverHisOwner) {
		this.smsDeliverHisOwner = smsDeliverHisOwner;
	}

	@Column(name = "SPNUMBER", length = 20)
	public String getSpnumber() {
		return this.spnumber;
	}

	public void setSpnumber(String spnumber) {
		this.spnumber = spnumber;
	}

	@Column(name = "USERNUMBER", length = 20)
	public String getUsernumber() {
		return this.usernumber;
	}

	public void setUsernumber(String usernumber) {
		this.usernumber = usernumber;
	}

	@Column(name = "CONTENT", length = 200)
	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Column(name = "RESERVE", length = 20)
	public String getReserve() {
		return this.reserve;
	}

	public void setReserve(String reserve) {
		this.reserve = reserve;
	}

	@Column(name = "RECEIVETIME", length = 19)
	public Date getReceivetime() {
		return this.receivetime;
	}

	public void setReceivetime(Date receivetime) {
		this.receivetime = receivetime;
	}

	@Column(name = "READTIME", length = 19)
	public Date getReadtime() {
		return this.readtime;
	}

	public void setReadtime(Date readtime) {
		this.readtime = readtime;
	}

	@Column(name = "READER", length = 20)
	public String getReader() {
		return this.reader;
	}

	public void setReader(String reader) {
		this.reader = reader;
	}

	@Column(name = "corp_id", length = 20)
	public String getCorpId() {
		return this.corpId;
	}

	public void setCorpId(String corpId) {
		this.corpId = corpId;
	}

}